package ext.tianma.bom.bean;


public class BOMBean {
	private String oldpartnumber;// 原物料号
	private String oldpartamount;// 原物料用量
	private String oldpartlinenumber;// 行号
	private String newpartnumber;// 新物料号
	private String newpartamount;// 新物料用量
	private String newpartlinenumber;// 新行号

	private String view;// 视图
	private String partAnumber;// 主物料号
	private String partAamount;// 主物料用量
	private String partAlinenumber;// 主物料行号
	private String partBnumber;// 次物料号
	private String partBamount;// 次物料用量
	private String partBlinenumber;// 次物料行号
	private String effectnumber;// 受影响对象编号
	private String ECONumber;// ECO编号
	
	//add by xucr on 20210126 替代料用量修改属性
	private String mainNum;
	private String mainLineNumber;//主料行号
	private String substitutesNum;//替代料
	private String subOldAmount;//替代料旧用量
	private String subNewAmount;//替代料新用量

	private String type;// 操作类型
	
	private String historynumber;// 历史数据标志  取原料编号
	
	private String ecoid;// ECO oid
	
	private String changetype;//单个变更  0  批量变更  1
	
	private String index;//table 行号
	
	public static String ADDPart = "ADDPart";//新增物料
	public static String DelPart = "DelPart";//删除物料
	public static String ReplacePart = "ReplacePart";//替换物料
	public static String UpdatePart = "UpdatePart";//用量修改
	public static String ADDReplcePart ="ADDReplcePart";//新增替代料
	public static String DelReplcePart = "DelReplcePart";//删除替代料
	public static String UpdateReplcePart = "UpdateReplcePart";//更换替代料
	public static String UpdateAPart = "updateAPart";//更换主料
	public static String ReplaceABPart = "ReplaceABPart";//主次替换
	
	//add by xucr 替代料用量修改，【BOM组ECO变更流程】中，暂无此模块，但在【变更管理】中有此模块，仅按此命名定义，后续如果要加入此功能的话
	public static String UpdateSubstitutesQuantity = "UpdateSubstitutesQuantity";
	
	
	
	public String getIndex() {
		return index;
	}

	public void setIndex(String index) {
		this.index = index;
	}

	public String getChangetype() {
		return changetype;
	}

	public void setChangetype(String changetype) {
		this.changetype = changetype;
	}

	public String getHistorynumber() {
		return historynumber;
	}

	public void setHistorynumber(String historynumber) {
		this.historynumber = historynumber;
	}

	public String getEcoid() {
		return ecoid;
	}

	public void setEcoid(String ecoid) {
		this.ecoid = ecoid;
	}

	public String getECONumber() {
		return ECONumber;
	}

	public void setECONumber(String eCONumber) {
		ECONumber = eCONumber;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getView() {
		return view;
	}

	public void setView(String view) {
		this.view = view;
	}

	public String getPartAamount() {
		return partAamount;
	}

	public void setPartAamount(String partAamount) {
		this.partAamount = partAamount;
	}

	public String getPartAlinenumber() {
		return partAlinenumber;
	}

	public void setPartAlinenumber(String partAlinenumber) {
		this.partAlinenumber = partAlinenumber;
	}

	public String getPartBamount() {
		return partBamount;
	}

	public void setPartBamount(String partBamount) {
		this.partBamount = partBamount;
	}

	public String getPartBlinenumber() {
		return partBlinenumber;
	}

	public void setPartBlinenumber(String partBlinenumber) {
		this.partBlinenumber = partBlinenumber;
	}

	public String getEffectnumber() {
		return effectnumber;
	}

	public void setEffectnumber(String effectnumber) {
		this.effectnumber = effectnumber;
	}

	public String getOldpartnumber() {
		return oldpartnumber;
	}

	public void setOldpartnumber(String oldpartnumber) {
		this.oldpartnumber = oldpartnumber;
	}

	public String getOldpartamount() {
		return oldpartamount;
	}

	public void setOldpartamount(String oldpartamount) {
		this.oldpartamount = oldpartamount;
	}

	public String getOldpartlinenumber() {
		return oldpartlinenumber;
	}

	public void setOldpartlinenumber(String oldpartlinenumber) {
		this.oldpartlinenumber = oldpartlinenumber;
	}

	public String getNewpartnumber() {
		return newpartnumber;
	}

	public void setNewpartnumber(String newpartnumber) {
		this.newpartnumber = newpartnumber;
	}

	public String getNewpartamount() {
		return newpartamount;
	}

	public void setNewpartamount(String newpartamount) {
		this.newpartamount = newpartamount;
	}

	public String getNewpartlinenumber() {
		return newpartlinenumber;
	}

	public void setNewpartlinenumber(String newpartlinenumber) {
		this.newpartlinenumber = newpartlinenumber;
	}

	public String getPartAnumber() {
		return partAnumber;
	}

	public void setPartAnumber(String partAnumber) {
		this.partAnumber = partAnumber;
	}

	public String getPartBnumber() {
		return partBnumber;
	}

	public void setPartBnumber(String partBnumber) {
		this.partBnumber = partBnumber;
	}

	public String getMainNum() {
		return mainNum;
	}

	public void setMainNum(String mainNum) {
		this.mainNum = mainNum;
	}

	public String getSubstitutesNum() {
		return substitutesNum;
	}

	public void setSubstitutesNum(String substitutesNum) {
		this.substitutesNum = substitutesNum;
	}

	public String getSubOldAmount() {
		return subOldAmount;
	}

	public void setSubOldAmount(String subOldAmount) {
		this.subOldAmount = subOldAmount;
	}

	public String getSubNewAmount() {
		return subNewAmount;
	}

	public void setSubNewAmount(String subNewAmount) {
		this.subNewAmount = subNewAmount;
	}

	public String getMainLineNumber() {
		return mainLineNumber;
	}

	public void setMainLineNumber(String mainLineNumber) {
		this.mainLineNumber = mainLineNumber;
	}


}
